<template>
  <div class="fullMain">
    <!--插入验证提示框-->
    <div v-transfer-dom>
      <alert v-model="isShowAlert">{{alertText}}</alert>
    </div>
    <div class="contentAll" style="overflow:hidden;z-index: 200;">
      <div style="height:10px" />
    </div>
  </div>
</template>

<script>
import { XHeader } from "vux";
import task from "api/task";
export default {
  data() {
    return {
      projectId: this.$route.params.projectId,
    };
  },
  components: {
    XHeader,
  },
  mounted() {
    this.getGoals(this.projectId);
  },
  methods: {
    async getGoals(projectId) {
      const result = await task.postAllGoalOfOneTask(projectId);
      console.log(result.data);
    },
  },
};
</script>

<style>
</style>